********************************************************************************
Scripts for modifiers Stuff ( tested in max 9 - 2009 )
COPY_MAT V 1.0  By Budi Gunawan - localtime(01/16/2009)
Last update - 01/19/2009

mail : hellocomred@gmail.com

Use and Modify at your own risk

*****************************************************************************

Quick Copy-Paste object material to another object.

update
- Support automatic set material ID of the selection when source object material having multimaterial ID.
  ( good work when base object Editable Poly to Editable Poly and Editable Mesh to Editable Mesh )
- Convert code to .mse


Note: 
Set object material ID can not use by undo (only non multi material can undo), 
for Reset object material ID you can use the other macro tool : Brutal_SET_ID (find it in scriptspot.com)

=============================================================================

Install:
unrar/unpack
Put folder "BG_Script" and .mse to max directory,  ex: Scripts\BG_Script\BG-Copy_Mat.mse

Put macro to UI/macroscript/COPY_MAT.mcr folder or run macroscript in maxscript menu,

Find tool under 'CustomizeUserinterface', Category "BG_mini_Tools"
assign into toolbar, keyboard, quad or any want you like...


UnInstall:
Delete file "BG-Copy_Mat.mse" and "COPY_MAT.mcr" where the path such as install
=============================================================================

Usage:
Select One or more object - run this macroscript and then pick another object having material, 
it's automatic paste into object selection.


Budi G
